
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>分页 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="DROP.html" />
    
    
    <link rel="prev" href="BUTTON.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    介绍
            
                </a>
            

            
        </li>
    

    
        
        <li class="divider"></li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="BUTTON.html">
            
                <a href="BUTTON.html">
            
                    
                    按钮
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="2.2" data-path="PAGE.html">
            
                <a href="PAGE.html">
            
                    
                    分页
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="DROP.html">
            
                <a href="DROP.html">
            
                    
                    下拉按钮
            
                </a>
            

            
        </li>
    

    
        
        <li class="divider"></li>
        
        
    
        <li class="chapter " data-level="3.1" data-path="CHECKBOX.html">
            
                <a href="CHECKBOX.html">
            
                    
                    单选与多选
            
                </a>
            

            
        </li>
    

    
        
        <li class="divider"></li>
        
        
    
        <li class="chapter " data-level="4.1" data-path="TOAST.html">
            
                <a href="TOAST.html">
            
                    
                    消息提示
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2" data-path="CONFIRM.html">
            
                <a href="CONFIRM.html">
            
                    
                    确认对话框
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.3" data-path="MODAL.html">
            
                <a href="MODAL.html">
            
                    
                    模态框
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.4" data-path="WINDOW.html">
            
                <a href="WINDOW.html">
            
                    
                    窗口
            
                </a>
            

            
        </li>
    

    
        
        <li class="divider"></li>
        
        
    
        <li class="chapter " data-level="5.1" data-path="ECHARTS.html">
            
                <a href="ECHARTS.html">
            
                    
                    百度图表
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >分页</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x5206;&#x9875;">&#x5206;&#x9875;</h1>
<p>&#x5206;&#x9875;&#x7EC4;&#x4EF6;&#x901A;&#x5E38;&#x7528;&#x4E8E;&#x5217;&#x8868;&#xFF08;&#x8868;&#x683C;&#xFF09;&#x6570;&#x636E;&#x5C55;&#x793A;&#x3002;</p>
<h2 id="&#x5BFC;&#x5165;&#x76F8;&#x5173;&#x6A21;&#x5757;">&#x5BFC;&#x5165;&#x76F8;&#x5173;&#x6A21;&#x5757;</h2>
<pre><code class="lang-typescript"><span class="hljs-keyword">import</span> { NgModule } from <span class="hljs-string">&apos;@angular/core&apos;</span>;
<span class="hljs-keyword">import</span> { PaginationModule } from <span class="hljs-string">&apos;ng-tui&apos;</span>;

@NgModule({
    imports: [
        <span class="hljs-comment">// &#x5BFC;&#x5165;&#x5206;&#x9875;&#x6A21;&#x5757;</span>
        PaginationModule,
    ],
    declarations: [...],
    entryComponents: [...]
})
<span class="hljs-keyword">export</span> <span class="hljs-keyword">class</span> MyExampleModule { }
</code></pre>
<h2 id="&#x7B80;&#x5355;&#x4F7F;&#x7528;">&#x7B80;&#x5355;&#x4F7F;&#x7528;</h2>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">ts-pagination</span>  
    [<span class="hljs-attr">pagination</span>]=<span class="hljs-string">&quot;page&quot;</span> 
    (<span class="hljs-attr">pageChange</span>)=<span class="hljs-string">&quot;loadDatas()&quot;</span>
    <span class="hljs-attr">goTitle</span>=<span class="hljs-string">&quot;&#x8DF3;&#x8F6C;&quot;</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">ts-pagination</span>&gt;</span>
</code></pre>
<pre><code class="lang-typescript"><span class="hljs-keyword">import</span> { Component } from <span class="hljs-string">&apos;@angular/core&apos;</span>;
<span class="hljs-keyword">import</span> { Pagination } from <span class="hljs-string">&apos;ng-tui&apos;</span>;

@Component({
    ...
})
<span class="hljs-keyword">export</span> <span class="hljs-keyword">class</span> ExampleComponent {

    page = <span class="hljs-keyword">new</span> Pagination();

    <span class="hljs-keyword">constructor</span>() { }

    <span class="hljs-comment">/**
     * &#x52A0;&#x8F7D;&#x6570;&#x636E;
     */</span>
    loadDatas(){
        <span class="hljs-comment">// &#x5F53;&#x524D;&#x5206;&#x9875;&#x5BF9;&#x8C61;&#x6570;&#x636E;</span>
        <span class="hljs-built_in">console</span>.log(<span class="hljs-keyword">this</span>.page.pageData)
        <span class="hljs-comment">// &#x5206;&#x9875;&#x6570;&#x636E;&#x9644;&#x5E26;&#x641C;&#x7D22;&#x6761;&#x4EF6;</span>
        <span class="hljs-built_in">console</span>.log(<span class="hljs-keyword">this</span>.page.getpageDataWith({city: <span class="hljs-string">&apos;&#x5357;&#x660C;&#x5E02;&apos;</span>}));
    }
}
</code></pre>
<h2 id="&#x8BBE;&#x7F6E;&#x989C;&#x8272;&#x9ED8;&#x8BA4;&#x662F;primary">&#x8BBE;&#x7F6E;&#x989C;&#x8272;(&#x9ED8;&#x8BA4;&#x662F;primary)</h2>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">ts-pagination</span>
    <span class="hljs-attr">color</span>=<span class="hljs-string">&quot;success&quot;</span>
    [<span class="hljs-attr">pagination</span>]=<span class="hljs-string">&quot;page&quot;</span> 
    <span class="hljs-attr">goTitle</span>=<span class="hljs-string">&quot;&#x8DF3;&#x8F6C;&quot;</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">ts-pagination</span>&gt;</span>
</code></pre>
<h2 id="&#x8BBE;&#x7F6E;&#x6BCF;&#x9875;&#x663E;&#x793A;&#x6570;&#x636E;&#x91CF;&#x4E0B;&#x62C9;&#x9009;&#x9879;">&#x8BBE;&#x7F6E;&#x6BCF;&#x9875;&#x663E;&#x793A;&#x6570;&#x636E;&#x91CF;&#x4E0B;&#x62C9;&#x9009;&#x9879;</h2>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">ts-pagination</span>
    [<span class="hljs-attr">pagination</span>]=<span class="hljs-string">&quot;page&quot;</span> 
    [<span class="hljs-attr">items</span>]=<span class="hljs-string">&quot;[{ text: &apos;&#x663E;&#x793A; 5 &#x6761;&apos;, value: 5 }, { text: &apos;&#x663E;&#x793A; 10 &#x6761;&apos;, value: 10 }, { text: &apos;&#x663E;&#x793A; 20 &#x6761;&apos;, value: 20 }]&quot;</span>
    <span class="hljs-attr">goTitle</span>=<span class="hljs-string">&quot;&#x8DF3;&#x8F6C;&quot;</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">ts-pagination</span>&gt;</span>
</code></pre>
<h2 id="&#x8BBE;&#x7F6E;&#x8DF3;&#x8F6C;&#x6309;&#x94AE;&#x6807;&#x9898;">&#x8BBE;&#x7F6E;&#x8DF3;&#x8F6C;&#x6309;&#x94AE;&#x6807;&#x9898;</h2>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">ts-pagination</span>  
    [<span class="hljs-attr">pagination</span>]=<span class="hljs-string">&quot;page&quot;</span> 
    <span class="hljs-attr">goTitle</span>=<span class="hljs-string">&quot;Go&quot;</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">ts-pagination</span>&gt;</span>
</code></pre>
<h2 id="&#x5B9E;&#x9645;&#x4F7F;&#x7528;">&#x5B9E;&#x9645;&#x4F7F;&#x7528;</h2>
<pre><code class="lang-html"><span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;card&quot;</span>&gt;</span>
    <span class="hljs-comment">&lt;!-- &#x8868;&#x683C;&#x52A0;&#x8F7D;&#x52A8;&#x753B;&#x7EC4;&#x4EF6; --&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">ts-table-load</span> [<span class="hljs-attr">display</span>]=<span class="hljs-string">&quot;pagination.loading&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">ts-table-load</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">table</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;table bg-white border-0&quot;</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">thead</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;text-dark&quot;</span>&gt;</span>
            <span class="hljs-tag">&lt;<span class="hljs-name">tr</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;bg-light&quot;</span>&gt;</span>
                <span class="hljs-comment">&lt;!-- &#x5FAA;&#x73AF;&#x6253;&#x5370;&#x8868;&#x683C;&#x6807;&#x9898; --&gt;</span>
                <span class="hljs-tag">&lt;<span class="hljs-name">th</span> *<span class="hljs-attr">ngFor</span>=<span class="hljs-string">&quot;let th of theads&quot;</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;border-0&quot;</span>&gt;</span>{{th}}<span class="hljs-tag">&lt;/<span class="hljs-name">th</span>&gt;</span>
            <span class="hljs-tag">&lt;/<span class="hljs-name">tr</span>&gt;</span>
        <span class="hljs-tag">&lt;/<span class="hljs-name">thead</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">tbody</span>&gt;</span>
            <span class="hljs-comment">&lt;!-- &#x5FAA;&#x73AF;&#x6253;&#x5370;&#x8868;&#x683C;&#x6570;&#x636E; --&gt;</span>
            <span class="hljs-tag">&lt;<span class="hljs-name">tr</span> *<span class="hljs-attr">ngFor</span>=<span class="hljs-string">&quot;let item of list;index as i&quot;</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;mat-cell&quot;</span>&gt;</span>
                <span class="hljs-tag">&lt;<span class="hljs-name">td</span>&gt;</span>{{pagination.offset + i + 1}}<span class="hljs-tag">&lt;/<span class="hljs-name">td</span>&gt;</span>
                <span class="hljs-tag">&lt;<span class="hljs-name">td</span>&gt;</span>
                    <span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;media&quot;</span>&gt;</span>
                        <span class="hljs-tag">&lt;<span class="hljs-name">img</span> [<span class="hljs-attr">src</span>]=<span class="hljs-string">&quot;item.avatar&quot;</span> <span class="hljs-attr">dataSrc</span>=<span class="hljs-string">&quot;assets/images/404.jpg&quot;</span> <span class="hljs-attr">alt</span>=<span class="hljs-string">&quot;avatar&quot;</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;rounded-circle&quot;</span> <span class="hljs-attr">height</span>=<span class="hljs-string">&quot;40&quot;</span>&gt;</span>
                        <span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;media-body&quot;</span>&gt;</span>
                            <span class="hljs-tag">&lt;<span class="hljs-name">p</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;m-0&quot;</span>&gt;</span>{{item.nick}}<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
                            <span class="hljs-tag">&lt;<span class="hljs-name">p</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;m-0 text-muted&quot;</span>&gt;</span>
                                <span class="hljs-tag">&lt;<span class="hljs-name">small</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;text-info&quot;</span>&gt;</span>{{item.email}}<span class="hljs-tag">&lt;/<span class="hljs-name">small</span>&gt;</span>
                            <span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
                        <span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
                    <span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
                <span class="hljs-tag">&lt;/<span class="hljs-name">td</span>&gt;</span>
                <span class="hljs-tag">&lt;<span class="hljs-name">td</span>&gt;</span>
                    <span class="hljs-tag">&lt;<span class="hljs-name">p</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;p-0 m-0&quot;</span>&gt;</span>{{item.cell}}<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
                    <span class="hljs-tag">&lt;<span class="hljs-name">p</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;p-0 m-0&quot;</span>&gt;</span>{{item.address}}<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
                <span class="hljs-tag">&lt;/<span class="hljs-name">td</span>&gt;</span>
                <span class="hljs-tag">&lt;<span class="hljs-name">td</span>&gt;</span>
                    <span class="hljs-tag">&lt;<span class="hljs-name">p</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;p-0 m-0&quot;</span>&gt;</span>{{item.registered.date}}<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
                <span class="hljs-tag">&lt;/<span class="hljs-name">td</span>&gt;</span>
            <span class="hljs-tag">&lt;/<span class="hljs-name">tr</span>&gt;</span>
            <span class="hljs-comment">&lt;!-- &#x6570;&#x636E;&#x4E3A;&#x7A7A;&#x65F6;&#x663E;&#x793A;&#x63D0;&#x793A;&#x6D88;&#x606F; --&gt;</span>
            <span class="hljs-tag">&lt;<span class="hljs-name">tr</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;mat-cell&quot;</span> *<span class="hljs-attr">ngIf</span>=<span class="hljs-string">&quot;list.length&lt;=0&quot;</span>&gt;</span>
                <span class="hljs-tag">&lt;<span class="hljs-name">td</span> [<span class="hljs-attr">attr.colspan</span>]=<span class="hljs-string">&quot;theads.length&quot;</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;text-center text-info&quot;</span>&gt;</span>
                    &#x6682;&#x65E0;&#x6570;&#x636E;&#xFF5E;
                <span class="hljs-tag">&lt;/<span class="hljs-name">td</span>&gt;</span>
            <span class="hljs-tag">&lt;/<span class="hljs-name">tr</span>&gt;</span>
            <span class="hljs-comment">&lt;!-- &#x5206;&#x9875;&#x7EC4;&#x4EF6; --&gt;</span>
            <span class="hljs-tag">&lt;<span class="hljs-name">tr</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;mat-cell&quot;</span>&gt;</span>
                <span class="hljs-tag">&lt;<span class="hljs-name">td</span> [<span class="hljs-attr">attr.colspan</span>]=<span class="hljs-string">&quot;theads.length&quot;</span> <span class="hljs-attr">class</span>=<span class="hljs-string">&quot;text-right&quot;</span>&gt;</span>
                    <span class="hljs-tag">&lt;<span class="hljs-name">ts-pagination</span> (<span class="hljs-attr">pageChange</span>)=<span class="hljs-string">&quot;pageChanged()&quot;</span> [<span class="hljs-attr">pagination</span>]=<span class="hljs-string">&quot;pagination&quot;</span> <span class="hljs-attr">goTitle</span>=<span class="hljs-string">&quot;&#x8DF3;&#x8F6C;&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">ts-pagination</span>&gt;</span>
                <span class="hljs-tag">&lt;/<span class="hljs-name">td</span>&gt;</span>
            <span class="hljs-tag">&lt;/<span class="hljs-name">tr</span>&gt;</span>
        <span class="hljs-tag">&lt;/<span class="hljs-name">tbody</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">table</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
</code></pre>
<pre><code class="lang-typescript"><span class="hljs-keyword">import</span> { Component, OnInit } from <span class="hljs-string">&apos;@angular/core&apos;</span>;
<span class="hljs-keyword">import</span> { Pagination } from <span class="hljs-string">&apos;ng-tui&apos;</span>;
<span class="hljs-keyword">import</span> { GlobalService, RequestService } from <span class="hljs-string">&apos;../../../../cores/services&apos;</span>;
<span class="hljs-keyword">import</span> { SearchParams } from <span class="hljs-string">&apos;../../../../cores/classes&apos;</span>;

@Component({
    templateUrl: <span class="hljs-string">&apos;./table.component.html&apos;</span>,
})
<span class="hljs-keyword">export</span> <span class="hljs-keyword">class</span> TableComponent <span class="hljs-keyword">implements</span> OnInit {

    <span class="hljs-comment">// &#x8868;&#x683C;&#x6570;&#x636E;</span>
    list = <span class="hljs-keyword">new</span> <span class="hljs-built_in">Array</span>&lt;<span class="hljs-built_in">any</span>&gt;();

    <span class="hljs-comment">// &#x8868;&#x683C;&#x6807;&#x9898;</span>
    theads = [<span class="hljs-string">&apos;No.&apos;</span>, <span class="hljs-string">&apos;&#x4F1A;&#x5458;&apos;</span>, <span class="hljs-string">&apos;&#x8054;&#x7CFB;&#x7535;&#x8BDD; | &#x4F4F;&#x5740;&apos;</span>, <span class="hljs-string">&apos;&#x6CE8;&#x518C;&#x65E5;&#x671F;&apos;</span>, <span class="hljs-string">&apos;&#x64CD;&#x4F5C;&apos;</span>];

    <span class="hljs-comment">// &#x5206;&#x9875;&#x53C2;&#x6570;</span>
    pagination = <span class="hljs-keyword">new</span> Pagination();

    <span class="hljs-comment">// &#x67E5;&#x8BE2;&#x53C2;&#x6570;</span>
    search = <span class="hljs-keyword">new</span> SearchParams({ start: <span class="hljs-string">&apos;&apos;</span>, end: <span class="hljs-string">&apos;&apos;</span> });

    <span class="hljs-keyword">constructor</span>(
        private reqeust: RequestService,
    ) { }

    ngOnInit() {
        <span class="hljs-keyword">this</span>.pageChanged();
    }

    pageChanged() {

        <span class="hljs-comment">// &#x5F00;&#x542F;&#x52A0;&#x8F7D;&#x52A8;&#x753B;</span>
        <span class="hljs-keyword">this</span>.pagination.loading = <span class="hljs-literal">true</span>;

        <span class="hljs-comment">// &#x8BF7;&#x6C42;&#x6570;&#x636E;</span>
        <span class="hljs-keyword">this</span>.reqeust.get(<span class="hljs-string">&apos;/user/list&apos;</span>,<span class="hljs-keyword">this</span>.pagination.getpageDataWith(<span class="hljs-keyword">this</span>.search.values)).subscribe({
            next: res =&gt; {
                <span class="hljs-comment">// &#x9875;&#x9762;&#x7EDF;&#x8BA1;</span>
                <span class="hljs-keyword">this</span>.page.total = res.datas.total;
                <span class="hljs-keyword">this</span>.list = res.datas.rows;
            },
            <span class="hljs-comment">// &#x5173;&#x95ED;&#x52A0;&#x8F7D;&#x52A8;&#x753B;</span>
            complete: () =&gt; <span class="hljs-keyword">this</span>.pagination.loading = <span class="hljs-literal">false</span>
        });
    }

    doReset() {
        <span class="hljs-keyword">this</span>.pagination.reset();
        <span class="hljs-keyword">this</span>.pageChanged();
    }

    doSearch() {
        <span class="hljs-keyword">this</span>.pageChanged();
    }
}
</code></pre>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="BUTTON.html" class="navigation navigation-prev " aria-label="Previous page: 按钮">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="DROP.html" class="navigation navigation-next " aria-label="Next page: 下拉按钮">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"分页","level":"2.2","depth":1,"next":{"title":"下拉按钮","level":"2.3","depth":1,"path":"DROP.md","ref":"DROP.md","articles":[]},"previous":{"title":"按钮","level":"2.1","depth":1,"path":"BUTTON.md","ref":"BUTTON.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"PAGE.md","mtime":"2018-09-27T06:24:16.591Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-08T02:14:36.809Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

